package com.dingli.service;

import com.dingli.framework.entity.Resume;
import com.dingli.framework.entity.Undertake;
import com.dingli.framework.util.Response;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IUndertakeService {

    //查询项目服务列表
    Response<PageInfo<Undertake>> selectList(String search, Integer pageNum, Integer pageSize);

    //查看项目服务详情
    Response<List<Undertake>> selectAll (Long ukeId);

    //审核通过
    Response<Object> updateState(String ukeId);

    //审核不通过
    Response<Object> update(String ukeId);

    //查询所有不通过的项目信息
    Response <List<Undertake>> select(String ukeId);

    //模糊查询
    Response<List<Undertake>> selectName(String typeName);

    //新增
    Response<Long> insert(Undertake undertake);

    //修改
    Response<Object> updateById(Undertake undertake);

    //删除
    Response<Object> deleteById(Long ukeId);
}
